package com.jack.xiaoer.service;

import com.jack.xiaoer.dto.AccountDTO;

import java.util.Optional;

/**
 * Created by Jackaroo Zhang on 2018/12/8.
 */
public interface AccountService {

    AccountDTO getAccount(Optional<AccountDTO> accountDTO);

    AccountDTO createAccount(Optional<AccountDTO> accountDTO);

    boolean accountExisted(Optional<AccountDTO> accountDTO);
}
